package com.mapper;

import com.pojo.Address;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface AddressMapper {
    void add(Address address);
    void deleteById(Integer addressId);
    @Select("select *from address where address_id=#{addressId}")
    Address selectById(Integer addressId);
}
